package ynu.edu.Dao;

import org.springframework.data.jpa.repository.JpaRepository;
import ynu.edu.Entity.Water;

import java.util.Optional;

public interface WaterDao extends JpaRepository<Water,Long> {
    Optional<Water> findFirstByOrderByCreateTimeDesc();
}
